From: Jo-Philipp Wich Date: Mon, 25 Oct 2021 21:59:02 +0000 (+0200) Subject: luci-theme-bootstrap: work around csstidy bug X-Git-Url: http://git.openwrt.org/%22https:/collectd.org/%22http:/www.crowdsec.net//%22https%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22https%22?a=commitdiff_plain;h=37e40e04ef04307660c35eb089deb6cbde17d660;p=project%2Fluci.git luci-theme-bootstrap: work around csstidy bug Ref: https://github.com/openwrt/luci/commit/26047fb967f079000ab61c7377f8e26e11277569#commitcomment-58638390 Signed-off-by: Jo-Philipp Wich --- diff --git a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css index 6c80d46124..4063a39fac 100644 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -863,7 +863,10 @@ header { background-repeat: repeat-x; background-image: linear-gradient(to bottom, #333333, #222222); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); - padding: 0 calc((100% - 940px) / 2 + 5px); + padding: 0; + /* the redundant properties below work around a csstidy bug */ + padding-left: calc((100% - 940px) / 2 + 5px); + padding-right: calc((100% - 940px) / 2 + 5px); } .nav {